package
{
	import flash.display.LoaderInfo;
	import flash.display.MovieClip;

	public class Resource
	{
		public static var swf:LoaderInfo;
		
		public static function getMovieClip(name:String):MovieClip
		{
			return new (swf.applicationDomain.getDefinition(name) as Class) as MovieClip;
		}
	}
}